package com.train.pay.compoent;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient(value = "ORDER-SERVER")
public interface FeignTrain {
    @RequestMapping(path = {"/order"},method = {RequestMethod.GET})
    String hi();
}
